package cn.ggcms.cms.biz;

import java.util.List;

import cn.ggcms.cms.dao.ColumnsDao;
import cn.ggcms.cms.vo.Columns;

public class ColumnsBiz implements ColumnsDao {

	private ColumnsDao columnsDao;

	public void setColumnsDao(ColumnsDao columnsDao) {
		this.columnsDao = columnsDao;
	}

	public boolean doDeleteColumns(int id) {
		return this.columnsDao.doDeleteColumns(id);
	}

	public int doInsertColumns(Columns columns) {
		return this.columnsDao.doInsertColumns(columns);
	}

	public boolean doUpdateConlumns(Columns columns) {
		return this.columnsDao.doUpdateConlumns(columns);
	}

	public List<Columns> findColumns() {
		return this.columnsDao.findColumns();
	}

	public Columns findColumnsById(int id) {
		return this.columnsDao.findColumnsById(id);
	}

}
